<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<title>参数字典维护</title>
		
		<link rel="stylesheet" type="text/css" href="../css/cm-default.css"  />
		<link rel="stylesheet" type="text/css" href="../ligerUI/skins/Aqua/css/ligerui-all.css" />
		<link rel="stylesheet" type="text/css" href="../ligerUI/skins/ligerui-icons.css" />
		<script src="../js/jquery-min.js" type="text/javascript"></script>
		<script src="../js/validate/jquery.validate.js" type="text/javascript"></script>
		<script src="../js/validate/jquery.metadata.js" type="text/javascript"></script>
		<script src="../js/validate/messages_zh.js" type="text/javascript"></script>
		<script src="../ligerUI/js/ligerui.all.js" type="text/javascript"></script> 
		<script src="../js/common.js" type="text/javascript"></script>

		<style type="text/css">
			label{margin: 5px 20px 5px 15px;}
			.fields{height:35px;padding-top:5px;}
			.dict-info{width: 260px;padding: 10px;}
			.diff {margin:3px 0;}
			.lineD {width:99%;float:left;position:relative;overflow:hidden;margin:10px 0 2px 2px}
			.labelD {width:26%;position:relative;float:left;padding-top:3px;}
			.dplD {width:73%;position:relative;float:left;}
			.title{font-size:14px;font-weight:bold;background-position:left;padding-left:18px;}
		</style>
	</head>
	<body style="padding:0;">
		<div id="pageloading"></div>  
		<div id="layout_main">
			<div position="center" id="a_center" title="参数字典列表">
				<div id="query_cond" class="fields">
					<label>字典名称</label><input type="text" class="s-text txt-def" id="dictName" />
					<label>字典代码</label><input type="text" class="s-text txt-def" id="dictCode" />
					<label>状态</label><select id="dictStatus" param="rbac.status" first=""></select>
					<input type="button" value="查询" style="margin-left:25px;" onclick="toQuery();" />
					<input type="button" value="清空" onclick="toReset('#dictName,#dictCode,#dictStatus');" />
				</div>
				<div id="query_list"></div>
			</div>
		</div>
		
		<div id="new_dict_def" style="display:none;overflow:hidden;">
		<form name="basic-form" method="post" id="basic_form" class="liger-form" data-validate="{}">
			<div class="lineD" style="margin-bottom:10px;">
				<span class="title l-icon-add">添加参数字典定义</span>
			</div>
			<div class="lineD">
				<div class="labelD"><label>字典名称</label></div>
				<div class="dplD"><input type="text" ltype="text" class="required s-text txt-def" id="newNameS" /></div>
			</div>
			<div class="lineD">
				<div class="labelD"><label>字典代码</label></div>
				<div class="dplD"><input type="text" ltype="text" class="required s-text txt-def"  id="newCodeS" /></div>
			</div>
			<div class="lineD">
				<div class="labelD"><label>类型</label></div>
				<div class="dplD">
				<input type="text" id="newTypeNameS" ltype="combobox" class="required s-text txt-def" />
                 <input type="hidden" id="newTypeS" />
				</div>
			</div>
			<div class="lineD">
				<div class="labelD"><label>状态</label></div>
				<div class="dplD">
				
				<input type="text" id="newStatuNameS" ltype="combobox" class="required s-text txt-def" /></div>
						<input type="hidden" id="newStatuS" />
			</div>
			<div class="lineD">
				<div class="labelD"><label>说明</label></div>
				<div class="dplD"><textarea cols="24" rows="5" id="newDescS"  ></textarea></div>
			</div>
			<div class="lineD" style="margin-top:15px;padding-left:30%;">
				<input type="button" value="保存" onclick="toAdd();" />
				<input type="button" value="清空" onclick="toReset('#new_dict_def input,select,textarea')" />
			</div>
		</form>
		</div>
		<script src="dict.js" type="text/javascript"></script>
	</body>
</html>